package com.yunxi.model.sto;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 仓储人员
 * </p>
 *
 * @author caoYong
 * @since 2019-06-06
 */
@Data
@EqualsAndHashCode(callSuper = false)

@TableName("pms_sto_storage_staff")
@ApiModel(value="StoStorageStaff对象", description="仓储人员")
public class StoStorageStaff implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "STORAGE_STAFF_ID", type = IdType.UUID)
    private String storageStaffId;

    @ApiModelProperty(value = "仓储人员编号")
    @TableField("STORAGE_STAFF_NO")
    private String storageStaffNo;

    @ApiModelProperty(value = "仓储公司ID")
    @TableField("STORAGE_COMPANY_ID")
    private String storageCompanyId;

    @ApiModelProperty(value = "仓储公司ID")
    @TableField("STORAGE_COMPANY_NO")
    private String storageCompanyNo;

    @ApiModelProperty(value = "职位(Storage_PositionType,1仓储人员,2物流人员)")
    @TableField("STORAGE_POSITION")
    private String storagePosition;

    @ApiModelProperty(value = "人员姓名")
    @TableField("STORAGE_STAFF_NAME")
    private String storageStaffName;

    @ApiModelProperty(value = "联系方式")
    @TableField("STORAGE_STAFF_PHONE")
    private String storageStaffPhone;

    @ApiModelProperty(value = "是否启用(1是0否)")
    @TableField("IS_ON_USE")
    private String isOnUse;

    @ApiModelProperty(value = "登录密码")
    @TableField("PASS_WORD")
    private String passWord;

    @ApiModelProperty(value = "RFID号")
    @TableField("RFID")
    private String rfid;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_TIME",fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "CREATE_BY",fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "UPDATE_TIME",fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    @TableField(value = "UPDATE_BY",fill = FieldFill.UPDATE)
    private String updateBy;


}
